package com.smarthospital.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * create by sym  2021/4/21 21:37.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description="医生" )
public class Doctor implements Serializable {
    private static final long serialVersionUID = 16161151616L;

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "医生工号")
    private String doctor;
    @ApiModelProperty(value = "头像 图片链接")
    private String avatar;
    @ApiModelProperty(value = "排位顺序 从小到大")
    private Integer sort;
    @ApiModelProperty(value = "医生级别 0_普通医生 1_专家")
    private Integer doctorLevel;
    @ApiModelProperty(value = "医生姓名")
    private String name;
    @ApiModelProperty(value = "医生身份证")
    private String idcard;
    @ApiModelProperty(value = "医生邮箱")
    private String email;
    @ApiModelProperty(value = "医生电话")
    private String telephone;
    @ApiModelProperty(value = "医生供职医院")
    private String hospital;
    @ApiModelProperty(value = "门诊地址")
    private String addr;
    @ApiModelProperty(value = "医生头衔")
    private String title;
    @ApiModelProperty(value = "医生简介")
    private String introduction;
    @ApiModelProperty(value = "医生主业")
    private String major;

    @ApiModelProperty(value = "多少元起")
    private double startPrice;
    @ApiModelProperty(value = "图文问诊价格(次)")
    private double imageTextPrice;
    @ApiModelProperty(value = "电话问诊价格(20分钟)")
    private double phonePrice;
    @ApiModelProperty(value = "视频问诊价格(20分钟)")
    private double videoPrice;

    @ApiModelProperty(value = "数据创建时间")
    private String createTime;
    @ApiModelProperty(value = "数据更新时间")
    private String updateTime;
    @ApiModelProperty(value = "数据生成人")
    private String creator;
    @ApiModelProperty(value = "数据更新人")
    private String updator;
    @ApiModelProperty(value = "用户组")
    private String group;
    @ApiModelProperty(value = "数据有效性 0 - 正常使用， 1 - 删除")
    private String status;

    //偷懒 非db数据存在这里
    @ApiModelProperty(value = "是否在忙  0 - 空闲， 1 - 通话中")
    private int isBusy;

    @ApiModelProperty(value = "已预约  0 - 否， 1 - 是  2 - 已经过期")
    private int isSubscribe;

    @ApiModelProperty(value = "已预约未过期的订单id")
    private String subscribeOrderId;

    @ApiModelProperty(value = "已预约的开始时间  Y-M-D H:m:s")
    private String subscribeStartTime;

    @ApiModelProperty(value = "已预约的结束时间  Y-M-D H:m:s")
    private String subscribeEndTime;

    @ApiModelProperty(value = "诊断量(多少次)")
    private int times;

    @ApiModelProperty(value = "与doctorLevel对应 医生级别 0_普通医生 1_专家")
    private String doctorLevelStr;

}
